package com.ruoyi.behavior.domain.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.behavior.domain.vo.AmountOfRateVo;
import com.ruoyi.behavior.domain.vo.RepliesVo;
import com.ruoyi.behavior.domain.vo.ReviewListVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SkuReviewListDto {
    List<AmountOfRateVo> amountOfRate;
    List<ReviewListVo> reviewList;
    private Long total;
    private Double avg;

    @JsonIgnore
    private Long id;
    @JsonIgnore
    private Integer rate;
    @JsonIgnore
    private Integer amount;
    @JsonIgnore
    private String userName;
    @JsonIgnore
    private String avator;
    @JsonIgnore
    private String title;
    @JsonIgnore
    private String description;
    @JsonIgnore
    private Long likes;
    @JsonIgnore
    private List<String> urls;
    @JsonIgnore
    private List<RepliesVo> replies;
}
